package com.shanyi.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author shanyi
 * @Date 2023/2/17 15:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Integer isDelete;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
}
